﻿namespace MapleRock.P2PEmulator.Core
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Net;
  using System.Text;
  using System.Xml.Serialization;

  public sealed class XmlPeer
  {
    public XmlPeer()
    {
      this.IpAddress = "0.0.0.0";
    }

    [XmlAttribute(AttributeName = "id")]
    public uint Id { get; set; }

    [XmlAttribute(AttributeName = "ipAddress")]
    public string IpAddress { get; set; }

    [XmlAttribute(AttributeName = "position")]
    public string Position { get; set; }

    [XmlAttribute(AttributeName = "cityId")]
    public uint CityId { get; set; }
  }
}
